package com.wuzhun.wxmp.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 微信公众号表
 * </p>
 *
 * @author renbaolin
 * @since 2022-12-03
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("pre_wechat")
@ApiModel(value = "Wechat对象", description = "公众号表")
public class Wechat extends BaseEntity {

    @ApiModelProperty("单位名称")
    @TableField("department")
    private String department;

    @ApiModelProperty("微信公众号名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("微信公众号原始ID")
    @TableField("mp_id")
    private String mpId;

    @ApiModelProperty("微信公众号AppId")
    @TableField("app_id")
    private String appId;

    @ApiModelProperty("微信公众号TOKEN")
    @TableField("mp_token")
    private String mpToken;

    @ApiModelProperty("创建uid")
    @TableField("created_uid")
    private Integer createdUid;

    @ApiModelProperty("关注公众号自动回复消息")
    @TableField("flow_reply_message")
    private String flowReplyMessage;

    @ApiModelProperty("给公众号发消息自动回复消息")
    @TableField("send_reply_message")
    private String sendReplyMessage;

}
